% !TeX program = xelatex
% !Mode:: "TeX:UTF-8"

\documentclass[openany,nofonts,UTF8]{ctexbook}
\input{setup/package}
\graphicspath{{figures/}}

%===================================== Cover and TOC =====================================
\begin{document}
\input{setup/format}
\frontmatter
\input{setup/cover}
\input{setup/abstract}
\input{setup/content}
\let\cleardoublepage\clearpage

%======================================= Main Body =======================================
\mainmatter\defaultfont\sloppy\raggedbottom
\include{body/chapter_1}
\include{body/chapter_2}
% \include{appendix/acknowledgements}

%======================================= Reference =======================================
\wuhao\selectfont
\bibliographystyle{bib/gbt-style}
\addcontentsline{toc}{chapter}{参考文献}
\addcontentsline{toe}{chapter}{References}
\addtolength{\bibsep}{-0.8em}
\bibliography{bib/reference.bib}

%======================================= Appendix ========================================
\include{setup/formatApp}
\include{appendix/appA}
\include{appendix/appB}

\end{document} 
